<template>
  <div>
    <div>
      <h4>主观资料S</h4>
      <el-row type="flex" justify="space-between">
        <el-col>
          <span>管道：</span>
          <div class="grid-content">
            <el-checkbox-group v-model="pgForm.tygnlcpg1_tyyxxzd3">
              <el-checkbox label="鼻饲管"></el-checkbox>
              <el-checkbox label="胃造瘘"></el-checkbox>
              <el-checkbox label="气管套管/插管"></el-checkbox>
              <el-checkbox label="呼吸机"></el-checkbox>
              <el-checkbox label="吸痰器"></el-checkbox>
              <el-checkbox label="心电监护"></el-checkbox>
              <el-input v-model="pgForm.tygnlcpg1_tyyxxzd3input" placeholder="备注" style="width: 50%"></el-input>
            </el-checkbox-group>
          </div>
        </el-col>
        <el-col :span="5">
          <span>进食方式：</span>
          <div class="grid-content">
            <el-checkbox-group v-model="pgForm.tygnlcpg1_tyyxxzd4">
              <el-checkbox label="经口"></el-checkbox>
              <el-checkbox label="管饲"></el-checkbox>
              <el-checkbox label="其他"></el-checkbox>
              <el-input v-model="pgForm.tygnlcpg1_tyyxxzd4input" placeholder="备注" style="width: 50%"></el-input>
            </el-checkbox-group>
          </div>
        </el-col>
        <el-col :span="5">
          <span>使用餐具：</span>
          <div class="grid-content">
            <el-checkbox-group v-model="pgForm.tygnlcpg1_tyyxxzd5">
              <el-checkbox label="筷子"></el-checkbox>
              <el-checkbox label="勺子"></el-checkbox>
              <el-checkbox label="其他"></el-checkbox>
              <el-input v-model="pgForm.tygnlcpg1_tyyxxzd5input" placeholder="备注"></el-input>
            </el-checkbox-group>
          </div>
        </el-col>
        <el-col :span="5">
          <span>进食所需时间：</span>
          <div class="grid-content">
            <el-checkbox-group v-model="pgForm.tygnlcpg1_tyyxxzd6">
              <el-checkbox label=">60min"></el-checkbox>
              <el-checkbox label="30min-60min"></el-checkbox>
              <el-checkbox label="<30min"></el-checkbox>
              <el-input v-model="pgForm.tygnlcpg1_tyyxxzd6input" placeholder="备注"></el-input>
            </el-checkbox-group>
          </div>
        </el-col>
        <el-col :span="5">
          <span>进食时辅助：</span>
          <div class="grid-content">
            <el-checkbox-group v-model="pgForm.tygnlcpg1_tyyxxzd7">
              <el-checkbox label="自理"></el-checkbox>
              <el-checkbox label="部分辅助"></el-checkbox>
              <el-checkbox label="完全依赖"></el-checkbox>
              <el-input v-model="pgForm.tygnlcpg1_tyyxxzd7input" placeholder="备注"></el-input>
            </el-checkbox-group>
          </div>
        </el-col>
        <el-col :span="11">
          <span>呛咳：</span>
          <div class="grid-content">
            <el-checkbox-group v-model="pgForm.tygnlcpg1_tyyxxzd8">
              <el-checkbox label="无"></el-checkbox>
              <el-checkbox label="偶尔"></el-checkbox>
              <el-checkbox label="频繁"></el-checkbox>
              <el-input v-model="pgForm.tygnlcpg1_tyyxxzd8input" placeholder="备注"></el-input>
            </el-checkbox-group>
          </div>
        </el-col>
        <el-col :span="11">
          <span>呛咳发生时间：</span>
          <div class="grid-content">
            <el-checkbox-group v-model="pgForm.tygnlcpg1_tyyxxzd9">
              <el-checkbox label="进食前"></el-checkbox>
              <el-checkbox label="进食中"></el-checkbox>
              <el-checkbox label="进食后"></el-checkbox>
              <el-input v-model="pgForm.tygnlcpg1_tyyxxzd9input" placeholder="备注"></el-input>
            </el-checkbox-group>
          </div>
        </el-col>
        <el-col>
          <span>反流：</span>
        </el-col>
        <el-col :span="7">
          <span>鼻：</span>
          <div class="grid-content">
            <el-radio-group v-model="pgForm.tygnlcpg1_tyyxxzd11">
              <el-radio label="无"></el-radio>
              <el-radio label="偶尔"></el-radio>
              <el-radio label="明显"></el-radio>
              <el-input v-model="pgForm.tygnlcpg1_tyyxxzd11input" placeholder="备注"></el-input>
            </el-radio-group>
          </div>
        </el-col>
        <el-col :span="7">
          <span>口腔：</span>
          <div class="grid-content">
            <el-radio-group v-model="pgForm.tygnlcpg1_tyyxxzd12">
              <el-radio label="无"></el-radio>
              <el-radio label="偶尔"></el-radio>
              <el-radio label="明显"></el-radio>
              <el-input v-model="pgForm.tygnlcpg1_tyyxxzd12input" placeholder="备注"></el-input>
            </el-radio-group>
          </div>
        </el-col>
        <el-col :span="7">
          <span>痰液：</span>
          <div class="grid-content">
            <el-radio-group v-model="pgForm.tygnlcpg1_tyyxxzd13">
              <el-radio label="无"></el-radio>
              <el-radio label="有"></el-radio>
              <el-input v-model="pgForm.tygnlcpg1_tyyxxzd13input" placeholder="备注"></el-input>
            </el-radio-group>
          </div>
        </el-col>
        <el-col :span="7">
          <span>最近三个月是否发热：</span>
          <div class="grid-content">
            <el-radio-group v-model="pgForm.tygnlcpg1_tyyxxzd14">
              <el-radio label="无"></el-radio>
              <el-radio label="有"></el-radio>
              <el-input v-model="pgForm.tygnlcpg1_tyyxxzd14input" placeholder="备注"></el-input>
            </el-radio-group>
          </div>
        </el-col>
        <el-col :span="7">
          <span>体重是否减轻:</span>
          <div class="grid-content">
            <el-radio-group v-model="pgForm.tygnlcpg1_tyyxxzd15">
              <el-radio label="无"></el-radio>
              <el-radio label="有"></el-radio>
              <el-input v-model="pgForm.tygnlcpg1_tyyxxzd15input" placeholder="备注"></el-input>
            </el-radio-group>
          </div>
        </el-col>
        <el-col :span="7">
          <span>目前影响吞咽功能的药物使用情况：</span>
          <div class="grid-content">
            <el-radio-group v-model="pgForm.tygnlcpg1_tyyxxzd16">
              <el-radio label="无"></el-radio>
              <el-radio label="有"></el-radio>
              <el-input v-model="pgForm.tygnlcpg1_tyyxxzd16input" placeholder="备注"></el-input>
            </el-radio-group>
          </div>
        </el-col>
        <el-col>
          <div>
            <span>患者/家属的目标：</span>
            <el-input v-model="pgForm.tygnlcpg1_tyyxxzd17" placeholder="" style="width: 80%;"></el-input>
          </div>
        </el-col>
        <el-col>
          <span>既往相关病史</span>
          <div class="grid-content">
            <el-checkbox-group v-model="pgForm.tygnlcpg1_tyyxxzd18">
              <el-checkbox label="慢性阻塞性疾病，肺气肿，哮喘或其他呼吸道问题"></el-checkbox>
              <el-checkbox label="胃食管反流性疾病"></el-checkbox>
              <el-checkbox label="哽噎感"></el-checkbox>
              <el-checkbox label="短暂性缺血发作，脑血管意外"></el-checkbox>
              <el-checkbox label="其他神经疾病"></el-checkbox>
              <el-checkbox label="认知障碍"></el-checkbox>
              <el-checkbox label="手术史"></el-checkbox>
              <el-checkbox label="化疗/放疗"></el-checkbox>
              <el-checkbox label="误吸/吸入性肺炎"></el-checkbox>
              <el-checkbox label="气管管套存在或其他影响吞咽的情况"></el-checkbox>
              <el-checkbox label="其他"></el-checkbox>
              <el-input v-model="pgForm.tygnlcpg1_tyyxxzd18input" placeholder="备注" style="width: 50%"></el-input>
            </el-checkbox-group>
          </div>
        </el-col>
      </el-row>
    </div>
  </div>
</template>

<script>
export default {
  name: "supervisor_information_s2",
  title: "主观资料S",
  created() {
    if(this.istrans){
      this.pgForm=this.fromdata
    }
  },
  props: {
    fromdata:{},
    istrans:false,
  },
  data () {
    return {
      pgForm: {
        tygnlcpg1_tyyxxzd3:[],
        tygnlcpg1_tyyxxzd4:[],
        tygnlcpg1_tyyxxzd5:[],
        tygnlcpg1_tyyxxzd6:[],
        tygnlcpg1_tyyxxzd7:[],
        tygnlcpg1_tyyxxzd8:[],
        tygnlcpg1_tyyxxzd9:[],
        tygnlcpg1_tyyxxzd10:'',
        tygnlcpg1_tyyxxzd11:'',
        tygnlcpg1_tyyxxzd12:'',
        tygnlcpg1_tyyxxzd13:'',
        tygnlcpg1_tyyxxzd14:'',
        tygnlcpg1_tyyxxzd15:'',
        tygnlcpg1_tyyxxzd16:'',
        tygnlcpg1_tyyxxzd17:'',
        tygnlcpg1_tyyxxzd18:[],
        tygnlcpg1_tyyxxzd3input:'',
        tygnlcpg1_tyyxxzd4input:'',
        tygnlcpg1_tyyxxzd5input:'',
        tygnlcpg1_tyyxxzd6input:'',
        tygnlcpg1_tyyxxzd7input:'',
        tygnlcpg1_tyyxxzd8input:'',
        tygnlcpg1_tyyxxzd9input:'',
        tygnlcpg1_tyyxxzd11input:'',
        tygnlcpg1_tyyxxzd12input:'',
        tygnlcpg1_tyyxxzd13input:'',
        tygnlcpg1_tyyxxzd14input:'',
        tygnlcpg1_tyyxxzd15input:'',
        tygnlcpg1_tyyxxzd16input:'',
        tygnlcpg1_tyyxxzd18input:'',
      },
    };
  }
}
</script>

<style scoped>
.el-row{
  margin: 10px 0;
  padding: 20px 20px;
  background-color: #f9f9f9;
  flex-wrap: wrap;
  flex-direction: row;
}
.el-col {
  margin:10px 0;
}
.el-checkbox-group{
  padding: 10px 20px;
}
.el-checkbox{
  display: block;
  margin-bottom: 15px;
}
.el-radio-group{
  padding: 10px 20px;
}
.el-radio{
  display: block;
  margin-bottom: 15px;
}
</style>
